/**
 * Created by Administrator on 2017/4/24.
 */
$(".info_top span").text(res[0].name + "的个人信息");
$(".info_name").text(res[0].name);
$(".info_private_tel").text((res[0].private_tel) ? res[0].private_tel : "NULL");
$(".info_name_en").text((res[0].name_en) ? res[0].name_en : "NULL");
$(".info_card").text(res[0].card);
$(".info_sex").text((res[0].sex == "1") ? '男士' : '女士');
$(".info_birthday").text(res[0].birthday);
$(".info_is_marry").text((res[0].is_marry == "1") ? '已婚' : '未婚');
$(".info_native_place").text((res[0].native_place) ? res[0].native_place : "NULL");
$(".info_residence").text((res[0].residence) ? res[0].residence : "NULL");
$(".info_education_id").text(res[0].grade);
$(".info_school").text((res[0].school) ? res[0].school : "NULL");
$(".info_major").text((res[0].major) ? res[0].major : "NULL");
$(".info_emergency_name").text((res[0].emergency_name) ? res[0].emergency_name : "NULL");
$(".info_emergency_phone").text((res[0].emergency_phone) ? res[0].emergency_phone : "NULL");
$(".info_account").text((res[0].account) ? res[0].account : "NULL");
$(".info_password").text((res[0].password) ? res[0].password : "NULL");
$(".info_work_tel").text((res[0].work_tel) ? res[0].work_tel : "NULL");
$(".info_department_id").text(res[0].department_id);
$(".info_department_position_id").text(res[0].position_name);
$(".info_permissionsgroup_id").text(res[0].description);
$(".info_salary_card").text((res[0].salary_card) ? res[0].salary_card : "NULL");
$(".info_bank_card_account").text((res[0].bank_card_account) ? res[0].bank_card_account : "NULL");
$(".info_money").text((res[0].money) ? res[0].money : "NULL");
$(".info_contract_content").text((res[0].contract_content) ? res[0].contract_content : "NULL");
$(".info_security_content").text((res[0].security_content) ? res[0].security_content : "NULL");
$(".info_entry_time").text((res[0].entry_time) ? res[0].entry_time : "NULL");
$(".info_private_wechat").text((res[0].private_wechat) ? res[0].private_wechat : "NULL");
$(".info_work_wechat").text((res[0].work_wechat) ? res[0].work_wechat : "NULL");
$(".info_private_qq").text((res[0].private_qq) ? res[0].private_qq : "NULL");
$(".info_work_qq").text((res[0].work_qq) ? res[0].work_qq : "NULL");
$(".info_family_situation").text((res[0].family_situation) ? res[0].family_situation : "NULL");
var order_url = package_url("public_module/index/show_add_edit") + "/now_staff/" + now_staff;
$(".info_bottom a").attr("href", order_url);
// $(".info_bottom a").attr("data-id", now_staff);
$(".staff_info").css("display", "block");